package com.far.permissions.interceptor;

import com.far.permisions.meta.function.FunctionValueHandler;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;

@Component
public class GetUserIds implements FunctionValueHandler<List<Integer>> {
    @Override
    public String getCode() {
        return "getUserIds";
    }

    @Override
    public List<Integer> get() {
        return Arrays.asList(1, 2, 3);
    }
}
